<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="/js/axios.min.js"></script>
<script src="/js/util.js"></script>
<script>
    function quitLogin(){
        axios.get("/user/quit").then(resp=>{
            if (resp.data=="ok"){
                $("iframe").src="/login.html";
            }
        })
    }
</script>

<style>div{border: 1px solid;}</style>
<body>
<div style="margin: auto;width: 1200px">
    <div style="height: 50px" id="welcome">汽车客户交流系统</div>
    <div>
        <a href="/index.html" target="contentFrame">首页</a>
        <a href="/login.html" target="contentFrame">登陆</a>
        <a href="/register.html" target="contentFrame">注册</a>
        <a href="javascript:quitLogin()">退出</a>
    </div>
    <iframe frameborder="0" src="" name="contentFrame" width="100%" height="1000px" id="iframe"></iframe>
</div>
</div>
</body>
</html>